package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Employee;
import cn.itsource.system.domain.Menu;

import java.util.List;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void addEmployeeRole(Employee employee);

    void deleteEmployeeRole(Long id);

    List<String> getSns(Long id);

    List<Menu> getMenus(Long id);

    Employee findByLogininfoId(Long id);

    List<Employee> list(Long id);
}
